[INFO] fetching crate median 0.3.2...
[INFO] checking median-0.3.2 against try#19b19c1ea5b23336f439d5f7be1cc1b3f1220bef for pr-112999
[INFO] extracting crate median 0.3.2 into /workspace/builds/worker-6-tc2/source
[INFO] validating manifest of crates.io crate median 0.3.2 on toolchain 19b19c1ea5b23336f439d5f7be1cc1b3f1220bef
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+19b19c1ea5b23336f439d5f7be1cc1b3f1220bef" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate median 0.3.2
[INFO] finished tweaking crates.io crate median 0.3.2
[INFO] tweaked toml for crates.io crate median 0.3.2 written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+19b19c1ea5b23336f439d5f7be1cc1b3f1220bef" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+19b19c1ea5b23336f439d5f7be1cc1b3f1220bef" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a420fdec406141845121210faa381f8029b0be6d4170deff7c4445a424f67918" "/opt/rustwide/cargo-home/bin/cargo" "+19b19c1ea5b23336f439d5f7be1cc1b3f1220bef" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c50b01a92715152aa00b9a06ecc7467225ae445af543c6f83d5282625c826180
[INFO] running `Command { std: "docker" "start" "-a" "c50b01a92715152aa00b9a06ecc7467225ae445af543c6f83d5282625c826180", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c50b01a92715152aa00b9a06ecc7467225ae445af543c6f83d5282625c826180", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c50b01a92715152aa00b9a06ecc7467225ae445af543c6f83d5282625c826180", kill_on_drop: false }`
[INFO] [stdout] c50b01a92715152aa00b9a06ecc7467225ae445af543c6f83d5282625c826180
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a420fdec406141845121210faa381f8029b0be6d4170deff7c4445a424f67918" "/opt/rustwide/cargo-home/bin/cargo" "+19b19c1ea5b23336f439d5f7be1cc1b3f1220bef" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 4d4cafc70a1bbc14cc9cb5656a151514a7a9a925abeeb65827a3b4d8e2d44e84
[INFO] running `Command { std: "docker" "start" "-a" "4d4cafc70a1bbc14cc9cb5656a151514a7a9a925abeeb65827a3b4d8e2d44e84", kill_on_drop: false }`
[INFO] [stderr]    Compiling version_check v0.9.4
[INFO] [stderr]    Compiling num-traits v0.2.15
[INFO] [stderr]    Compiling arraydeque v0.4.5
[INFO] [stderr]     Checking rand v0.4.6
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]     Checking median v0.3.2 (/opt/rustwide/workdir)
[INFO] [stderr]     Checking noisy_float v0.1.15
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> benches/main.rs:37:13
[INFO] [stdout]    |
[INFO] [stdout] 37 |         let mut aux_buffer = mem::MaybeUninit::<A>::uninit();
[INFO] [stdout]    |             ----^^^^^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0507]: cannot move out of `self.aux_buffer` which is behind a mutable reference
[INFO] [stdout]   --> benches/main.rs:49:30
[INFO] [stdout]    |
[INFO] [stdout] 49 |             let slice = &mut self.aux_buffer.assume_init().as_mut_slice()[0..size];
[INFO] [stdout]    |                              ^^^^^^^^^^^^^^^ ------------- `self.aux_buffer` moved due to this method call
[INFO] [stdout]    |                              |
[INFO] [stdout]    |                              move occurs because `self.aux_buffer` has type `MaybeUninit<A>`, which does not implement the `Copy` trait
[INFO] [stdout]    |
[INFO] [stdout] note: `MaybeUninit::<T>::assume_init` takes ownership of the receiver `self`, which moves `self.aux_buffer`
[INFO] [stdout]   --> /rustc/19b19c1ea5b23336f439d5f7be1cc1b3f1220bef/library/core/src/mem/maybe_uninit.rs:622:37
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0716]: temporary value dropped while borrowed
[INFO] [stdout]   --> benches/main.rs:49:30
[INFO] [stdout]    |
[INFO] [stdout] 49 |             let slice = &mut self.aux_buffer.assume_init().as_mut_slice()[0..size];
[INFO] [stdout]    |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^                        - temporary value is freed at the end of this statement
[INFO] [stdout]    |                              |
[INFO] [stdout]    |                              creates a temporary value which is freed while still in use
[INFO] [stdout] 50 |             for (index, item) in self.buffer.iter().enumerate() {
[INFO] [stdout] 51 |                 slice[index] = item.clone();
[INFO] [stdout]    |                 ------------ borrow later used here
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider using a `let` binding to create a longer lived value
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0507]: cannot move out of `self.aux_buffer` which is behind a mutable reference
[INFO] [stdout]   --> benches/main.rs:79:26
[INFO] [stdout]    |
[INFO] [stdout] 79 |         let slice = &mut self.aux_buffer.assume_init().as_mut_slice()[0..size];
[INFO] [stdout]    |                          ^^^^^^^^^^^^^^^ ------------- `self.aux_buffer` moved due to this method call
[INFO] [stdout]    |                          |
[INFO] [stdout]    |                          move occurs because `self.aux_buffer` has type `MaybeUninit<A>`, which does not implement the `Copy` trait
[INFO] [stdout]    |
[INFO] [stdout] note: `MaybeUninit::<T>::assume_init` takes ownership of the receiver `self`, which moves `self.aux_buffer`
[INFO] [stdout]   --> /rustc/19b19c1ea5b23336f439d5f7be1cc1b3f1220bef/library/core/src/mem/maybe_uninit.rs:622:37
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0515]: cannot return value referencing temporary value
[INFO] [stdout]   --> benches/main.rs:81:13
[INFO] [stdout]    |
[INFO] [stdout] 79 |         let slice = &mut self.aux_buffer.assume_init().as_mut_slice()[0..size];
[INFO] [stdout]    |                          ----------------------------- temporary value created here
[INFO] [stdout] 80 |         if low == high {
[INFO] [stdout] 81 |             &slice[low]
[INFO] [stdout]    |             ^^^^^^^^^^^ returns a value referencing data owned by the current function
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0133]: call to unsafe function is unsafe and requires unsafe function or block
[INFO] [stdout]   --> benches/main.rs:49:30
[INFO] [stdout]    |
[INFO] [stdout] 49 |             let slice = &mut self.aux_buffer.assume_init().as_mut_slice()[0..size];
[INFO] [stdout]    |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0133]: call to unsafe function is unsafe and requires unsafe function or block
[INFO] [stdout]   --> benches/main.rs:79:26
[INFO] [stdout]    |
[INFO] [stdout] 79 |         let slice = &mut self.aux_buffer.assume_init().as_mut_slice()[0..size];
[INFO] [stdout]    |                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0133, E0507, E0515, E0716.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0133`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `median` (bench "main") due to 7 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] running `Command { std: "docker" "inspect" "4d4cafc70a1bbc14cc9cb5656a151514a7a9a925abeeb65827a3b4d8e2d44e84", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4d4cafc70a1bbc14cc9cb5656a151514a7a9a925abeeb65827a3b4d8e2d44e84", kill_on_drop: false }`
[INFO] [stdout] 4d4cafc70a1bbc14cc9cb5656a151514a7a9a925abeeb65827a3b4d8e2d44e84
